﻿///Arc.as 该类为弧线
//vesion 1.0
//author 夏天的树人
package org.summerTree.graphics
{
	import flash.geom.Point;
	public class Arc extends Base
	{
		public function Arc()
		{

		}
		override public  function clone():*
		{
			return new Arc();
		}
		public function CreatArc(radius:Number,start_Angle:Number,end_Angle:Number):void
		{
            this.graphics.lineStyle(linekness,color);
			this.graphics.moveTo(radius*Math.cos(-start_Angle*Math.PI/180),radius*Math.sin(-start_Angle*Math.PI/180));
			for (var i:int=start_Angle; i<=end_Angle; i++)
			{
				this.graphics.lineTo(radius*Math.cos(-i*Math.PI/180),radius*Math.sin(-i*Math.PI/180));
			}
		}
	}
}